.article {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;

  .articleMain {
    width: 100%;
    height: 100%;
    overflow: auto;
    position: relative;

    .header {
      width: 100%;
      height: 50%;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;

      .title {
        color: #ffffff;
        font-size: 40px;
        font-family: AliDL, serif;
        margin-top: 180px;
        font-weight: 600;
      }

      .poemsContainer {
        background: rgba(0, 0, 0, 0.5);
        padding: 12px 24px;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #ffffff;
        font-size: 32px;
        font-family: AliDL, serif;
        margin-top: 12px;
        font-weight: 600;
        border-radius: 20px;
        position: relative;
      }

      .wave1 {
        width: 100%;
        height: 84px;
        position: absolute;
        bottom: 0;
        left: 0;
        background: url("@/assets/banner/bannerWave1.png") repeat-x;
        animation: waveAnimation 5s linear infinite; /* 添加动画 */
      }

      .wave2 {
        width: 100%;
        height: 84px;
        position: absolute;
        bottom: 0;
        left: 0;
        background: url("@/assets/banner/bannerWave2.png") repeat-x;
        animation: waveAnimation 10s linear infinite; /* 速度稍微不同，制造层次感 */
      }

      /* 定义波浪滚动的动画 */
      @keyframes waveAnimation {
        0% {
          background-position: 0 0; /* 从最左侧开始 */
        }
        100% {
          background-position: 100% 0; /* 向右滚动到最右侧 */
        }
      }
    }

    .body {
      width: 100%;
      background-color: #fff;
      min-height: 50%;

      padding: 10px 200px;
      box-sizing: border-box;

      display: flex;
      justify-content: center;
      gap: 20px;
      position: relative;

      .left {
        display: flex;
        flex-direction: column;
        gap: 32px;
        flex: 1;
      }

      .right {
        width: 300px;
        height: 100%;
        position: sticky;
        top: 200px;
      }
    }
  }


  &::before {
    content: ""; /* 必须添加内容才能显示伪元素 */
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--common-bg); /* 背景图片 */
    background-position: center;
    filter: blur(10px); /* 初始状态背景模糊 */
    animation: background-zoom-blur 1s ease-in-out forwards;
    z-index: -1; /* 让伪元素位于背景层，保证内容在其上面 */
    background-size: 100%;
  }

  @keyframes background-zoom-blur {
    0% {
      top: -20px;
    }
    100% {
      top: 0;
      filter: blur(0px);
    }
  }

  .cursor {
    display: inline-block;
    width: 10px;
    height: 32px;
    background-color: #ffffff;
    margin-left: 5px;
    animation: blink 0.8s step-end infinite;
  }

  @keyframes blink {
    0% {
      opacity: 1;
    }
    50% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
}
